package cn.net.withub.dataCollector.common.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Created by yuanjie on 2018/4/27.
 */
@Entity
@Table(name = "t_collector_config" )
public class TCollectorConfig {
    private Integer id;
    private String ip;
    private String moduleName;
    private String fydm;
    private String fymc;
    private Date fbsj;
    private String classPath;
    private String methodName;
    private String url;
    private Integer qybz;
    private Integer threadCount;
    private Integer wzlx;

    @Id
    @Column(name = "ID",nullable = false,unique = true)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Column(name = "IP")
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Column(name = "MODULENAME")
    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    @Column(name = "FYDM")
    public String getFydm() {
        return fydm;
    }

    public void setFydm(String fydm) {
        this.fydm = fydm;
    }

    @Column(name = "FYMC")
    public String getFymc() {
        return fymc;
    }

    public void setFymc(String fymc) {
        this.fymc = fymc;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "FBSJ")
    public Date getFbsj() {
        return fbsj;
    }

    public void setFbsj(Date fbsj) {
        this.fbsj = fbsj;
    }

    @Column(name = "CLASSPATH")
    public String getClassPath() {
        return classPath;
    }

    public void setClassPath(String classPath) {
        this.classPath = classPath;
    }

    @Column(name = "METHODNAME")
    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    @Column(name = "URL")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Column(name = "QYBZ")
    public Integer getQybz() {
        return qybz;
    }

    public void setQybz(Integer qybz) {
        this.qybz = qybz;
    }

    @Column(name = "THREADCOUNT")
    public Integer getThreadCount() {
        return threadCount;
    }

    public void setThreadCount(Integer threadCount) {
        this.threadCount = threadCount;
    }

    @Column(name = "WZLX")
    public Integer getWzlx() {
        return wzlx;
    }

    public void setWzlx(Integer wzlx) {
        this.wzlx = wzlx;
    }
}
